package com.cloudfun.campusshare.common.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @author linyangping
 * @Title: 应用中心vo
 * @date 2019/11/6 下午2:27
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "应用Token信息")
public class AppTokenVO {

    @ApiModelProperty(value = "应用appkey")
    @NotEmpty(message = "应用appkey不能为空")
    @Length(max = 60,message = "appkey过长，限制60个字")
    private String appKey;

    @ApiModelProperty(value = "应用appsecret")
    @NotEmpty(message = "应用appsecret不能为空")
    @Length(max = 60,message = "appsecret限制60个字")
    private String appSecret;


}
